﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Models;
using BLL;

namespace carpool.shibangyou
{
    public partial class 乘客发布长途拼车 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                //页面初次加载
                //绑定下拉列表
                this.dd_shijian.DataSource = LongLineBLL.Changtu();
                //实际值
                this.dd_shijian.DataValueField = "CLineID";
                //显示值
                this.dd_shijian.DataTextField = "Times";
                //绑定
                this.dd_shijian.DataBind();
            }
        }
    }
}